<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>体检系统</title>
	<link rel="stylesheet" href="/public/css/bootstrap.min.css">
</head>
<body>
<nav class="navbar navbar-default" role="navigation">
	<div class="container-fluid">
		<div class="navbar-header">
			<a class="navbar-brand" href="#">体检系统</a>
		</div>
		<ul class="nav navbar-nav navbar-right">
			<li><a href="/login"> 登录</a></li>

		</ul>
	</div>
</nav>
<div class="panel panel-default">
    <div class="panel-body">
		<ul class="nav nav-tabs">
			<li ><a href="/index">产品列表</a></li>
			<li class="active"><a href="/order">订单列表</a></li>
		</ul>

	</ul>
	<table class="table">

	   <thead>
		  <tr>
			 <th>编号</th>
			 <th>购买人</th>
			 <th>产品名称</th>
			 <th>产品价格</th>
			  <th>操作</th>
		  </tr>
	   </thead>
	   <tbody>
	   {{ each list}}
		  <tr>
			 <td>{{$value.id}}</td>
			  <td>{{$value.userName}}</td>
			 <td>{{$value.name}}</td>
			  <td>{{$value.price}}</td>
			  <td>
				  <a href="/delete?id={{$value.id}}">删除</a>
			  </td>
		  </tr>
	   {{/each}}
	   </tbody>
	</table>
    </div>
</div>


</body>
</html>
